package com.simple.business.domain.dto.evaluation;

import com.simple.business.domain.enumeration.EvaluationTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @desc
 * @Author Simple
 * @Date 2024/7/30 14:22
 **/
@Data
@NoArgsConstructor
@Builder
@ToString(callSuper = true)
@Accessors(chain = true)
@ApiModel(value = "EvaluationSaveDTO", description = "ai测评-保存类")
@AllArgsConstructor
public class EvaluationSaveDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("用户id - 用户自己测评时候需要")
    private Long userId;

    @ApiModelProperty("孩子id")
    private Long babyId;

    @ApiModelProperty("测评类型")
    private EvaluationTypeEnum evaluationTypeEnum;

    @ApiModelProperty(value = "是否生成问题语音",hidden = true)
    private Boolean createEvaluationQuestionVoiceStatus;

    @ApiModelProperty("开始时间")
    private String startTime;

    @ApiModelProperty("结束时间")
    private String endTime;

    @ApiModelProperty("练习时长")
    private String diffTime;

    @ApiModelProperty("是否删除")
    private Boolean deleted;

    @ApiModelProperty("创建人")
    private Long createUser;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("测评问题")
    private List<EvaluationQuestionDTO> evaluationQuestionDTOs;

}
